Skip to content

chore: add PR/issue template validation skills and fix CLAUDE.md drift#46

Merged
amannocci merged 1 commit into
mainfrom
chore/skills-and-claude-md-fixes
Jul 15, 2026
Merged

chore: add PR/issue template validation skills and fix CLAUDE.md drift#46
amannocci merged 1 commit into
mainfrom
chore/skills-and-claude-md-fixes

Conversation

@amannocci

@amannocci amannocci commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

🧑‍💻What is the change being made?

  • Adds pr-template-validation and issue-template-validation skills as <name>/SKILL.md directories, the layout Claude Code requires for auto-discovery.
  • Adds a "GitHub PR/Issue Creation" section to .claude/CLAUDE.md that routes gh pr create / gh issue create through the corresponding validation skill.
  • Fixes drift in .claude/CLAUDE.md: the single-test example now points at tests/it/test_process.py::TestCommand::test_empty (the old tests/it/test_resources.py path doesn't exist), the Log class method list matches the real API (Log.action, Log.success, Log.failure, Log.fatal), and the exception list now includes ExplainedError, ManifestError, RunbookError, and MissingRunbookError, which were previously omitted.

❓ Why is the change being made?

Skills only auto-load from <name>/SKILL.md, so these needed that layout to actually trigger. Separately, auditing CLAUDE.md against the source surfaced examples and API references that no longer matched the code, which would mislead future sessions relying on it.

✅ How has this been tested?

Confirmed both skill directories have valid frontmatter and load correctly. Cross-checked every corrected CLAUDE.md claim against current source: src/terranova/exceptions.py, src/terranova/utils.py, and tests/it/.

📚 How has this been documented?

This PR is the documentation update itself.

Restructure pr-template-validation.md and issue-template-validation.md
into <name>/SKILL.md directories so they're auto-discovered, reference
them from CLAUDE.md, and correct CLAUDE.md claims that had drifted from
the codebase (broken test path, nonexistent Log API methods, missing
exception classes).
@amannocci amannocci changed the title chore: convert skill files to proper skill dirs and fix CLAUDE.md drift chore: add PR/issue template validation skills and fix CLAUDE.md drift Jul 15, 2026
@amannocci amannocci self-assigned this Jul 15, 2026
@amannocci
amannocci marked this pull request as ready for review July 15, 2026 09:48
@amannocci
amannocci merged commit 156bf9d into main Jul 15, 2026
8 checks passed
@amannocci
amannocci deleted the chore/skills-and-claude-md-fixes branch July 15, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant